﻿using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SingleUserMall.Items
{
    /// <summary>
    /// 商品sku
    /// </summary>
    public class ItemSku : FullAuditedEntity<long>
    {
        /// <summary>
        /// 商品Sku类别id
        /// </summary>
        public long ItemSkuCategoryId { get; set; }
        [ForeignKey("ItemSkuCategoryId")]
        public virtual ItemSkuCategory ItemSkuCategory { get; set; }
        /// <summary>
        /// sku名称
        /// </summary>
        [Required,MaxLength(100)]
        public string Sku { get; set; }
    }
}
